* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

.center {
    @media only screen and (min-width:1180px) {
        width: 1180px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (min-width:740px) and (max-width:1179px) {
        width: 740px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (max-width:739px) {
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}

body {
    background-color: #f7f7f7;

    .headerBox {
        margin-bottom: 23px;
        width: 100%;
        height: 78px;
        background-color: #ffffff;

        border-bottom: 2px solid #f2f2f2;

        position: sticky;
        top: 0;

        .header {
            height: 78px;
            background-color: #ffffff;

            display: flex;
            flex-wrap: nowrap;

            .headerLeft {

                display: flex;
                flex-wrap: nowrap;
                margin-right: auto;

                &>:nth-child(1) {
                    width: 222px;
                    height: 78px;
                    background: url(../images/logo.png) no-repeat center center;
                    background-size: cover;
                }

                &>:nth-child(-n+4):not(:nth-child(1)) {

                    white-space: nowrap;
                    margin-left: 50px;
                    height: 78px;
                    line-height: 78px;
                    font-size: 18px;
                    color: #222222;
                }

                &>:nth-child(3) {
                    padding-right: 28px;

                    position: relative;

                    &>a {
                        position: relative;
                        color: #222222;
                    }

                    &>a::after {
                        content: '';
                        display: block;
                        border: 8px solid transparent;
                        border-top-color: #222222;

                        position: absolute;
                        top: 10px;
                        right: -28px;
                    }

                    &:hover {
                        .sub_menu {
                            display: block;
                        }
                    }

                    .sub_menu {
                        position: absolute;
                        top: 70px;
                        left: -50px;
                        z-index: 10;

                        // box-sizing: border-box;
                        width: 400px;
                        height: 320px !important;
                        border: 1px solid #f7f7f7;
                        background-color: #ffffff;

                        // &>::after {
                        //     content: '';
                        //     display: block;
                        //     border: 8px solid transparent;
                        //     border-bottom-color: #ffffff;

                        //     position: absolute;
                        //     top: -16px;
                        //     right: 290px;
                        // }

                        display: none;


                        a {
                            display: block;
                            float: left;
                            box-sizing: border-box;
                            padding: 10px;
                            width: 40%;
                            color: #222222;
                            line-height: 30px;
                            text-align: center;

                            &:hover {
                                color: orange;
                            }
                        }
                    }
                }

            }

            .headerRight {

                display: flex;
                align-items: center;
                margin-right: 10px;

                .userPhone{
                    display: none;
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    background: url(../images/default.png) no-repeat center center;
                    background-size: cover;
                }

                button {
                    margin-left: 12px;
                    width: 90px;
                    height: 40px;
                    font-size: 17px;
                    border: none;
                    border-radius: 2px;

                    &:nth-child(1) {
                        display: block;
                        background-color: #ededed;
                    }

                    &:nth-child(2) {
                        display: block;
                        color: #fff;
                        background-color: #c0a75e;
                    }

                    &:nth-child(3) {
                        display: none;
                    }
                }
            }
        }
    }

    .classfyBox {
        width: 100%;
        // background-color: palegoldenrod;

        .classfy {
            box-sizing: border-box;
            padding: 30px;
            padding-bottom: 16px;
            font-size: 15px;
            background-color: #ffffff;

            display: flex;

            .classfyLabel {
                padding: 10px 0;
                padding-right: 0;
                color: #222222;
                white-space: nowrap;
            }

            .classfyList {
                padding: 10px 0;
                padding-left: 0;
                margin-left: 4px;
                margin-right: auto;

                display: flex;
                flex-wrap: wrap;

                a {
                    margin-right: 28px;
                    margin-bottom: 14px;
                    color: #555555;
                    cursor: pointer;

                    &:hover {
                        color: orange;
                    }
                }

                .active {
                    color: orange;
                }
            }
        }
    }

    .sortBox {
        margin: 24px 0 18px 0;
        width: 100%;
        height: 24px;
        // background-color: pink;

        .sort {
            height: 24px;
            background-color: #f7f7f7;

            line-height: 24px;
            font-size: 16px;
            color: #222222;
        }
    }

    .dividerBox {
        margin: 14px 0;
        width: 100%;

        .divider {
            box-sizing: border-box;
            height: 1px;
            border: 2px solid #f0f0f0;
        }
    }

    .usersListBox {
        width: 100%;

        .usersList {

            background-color: #f7f7f7;

            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            .card {

                label {
                    color: #222222;
                }

                box-sizing: border-box;
                margin: 12.25px 0px;
                padding: 20px;
                width: calc(50% - 20px);
                background-color: #ffffff;
                cursor: pointer;
                transition: 0.3s;

                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 2px 2px 2px 2px #f0f0f0;
                }

                .up {
                    .name_pic {

                        display: flex;
                        justify-content: space-between;

                        .name {
                            font-size: 20px;
                            font-weight: bold;
                            white-space: nowrap;
                        }
                    }

                    .evaluate {

                        i {
                            font-style: normal;
                        }

                        .lighten {
                            font-style: normal;
                            color: #d0bd86;
                        }

                        margin-top: 5px;
                        font-family: '微软雅黑';
                        color: #999999;

                        display: flex;
                        flex-wrap: wrap;

                        span {
                            margin-right: 4.8px;
                        }

                        span:nth-of-type(2) {
                            position: relative;
                            margin-left: 24.5px;
                        }

                        span:nth-of-type(2)::before {
                            content: '';
                            display: block;
                            width: 6px;
                            height: 6px;
                            border-radius: 50%;
                            background-color: black;

                            position: absolute;
                            top: 50%;
                            left: -12.25px;
                            transform: translateY((-50%));
                        }
                    }

                    .tags {
                        margin-top: 14px;

                        display: flex;
                        flex-wrap: wrap;

                        label {
                            box-sizing: border-box;
                            margin: 0 5.6px 5.6px 0;
                            padding: 0 5.6px;
                            // width: 65px;
                            height: 31px;
                            line-height: 31px;
                            text-align: center;
                            font-size: 12px;
                            font-weight: bold;
                            border: 1px solid #dddddd;
                        }
                    }
                }

                .down {
                    box-sizing: border-box;
                    padding: 20px 0;
                    line-height: 22px;
                    color: #999999;
                    border-top: 1px solid #f0f0f0;

                    p::after {
                        content: '';
                        display: block;
                        height: 0;
                        overflow: hidden;
                        visibility: hidden;
                        clear: both;
                    }
                }
            }
        }
    }

    .pagenationBox {
        width: 100%;
        margin-bottom: 20px;

        .pagenation {

            height: 50px;
            background: #fff;
            margin-top: 20px;

            .first,.prev,.next,.last{

                cursor: pointer;
            }

            .list {
                margin-top: 0px;
                border-top: none;
                cursor: pointer;
            }
        }
    }

    .footerBox {
        width: 100%;
        background-color: #333333;

        .footer {
            box-sizing: border-box;
            height: 336px;
            background-color: #333333;

            display: flex;
            flex-direction: column;
            justify-content: center;

            h2 {
                margin-bottom: 26px;
                color: #999999;
            }

            .four_column_row {
                display: flex;

                .column {
                    flex: 1;

                    .title {
                        color: #999999;
                    }

                    .link_list {
                        margin-top: 26px;
                        line-height: 36px;

                        display: flex;
                        flex-direction: column;

                        a {
                            font-size: 15px;
                            color: #dddddd;
                        }
                    }
                }
            }
        }
    }
}